package com.gph.saviorframework.es.core.aggregation;

import com.gph.saviorframework.es.core.FacetedPage;
import org.elasticsearch.search.aggregations.Aggregation;
import org.elasticsearch.search.aggregations.Aggregations;

public interface AggregatedPage<T> extends FacetedPage<T> {

	boolean hasAggregations();

	Aggregations getAggregations();

	Aggregation getAggregation(String name);
}
